From 39d622f3a26a87ba3f087b47d501fdb7e1eadd24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Wed, 11 Mar 2026 22:37:20 +0100 Subject: [PATCH] main: Also respect --force-animations flag in remote sessions When commit 33d3a6564 added support for the --force-animations flag, it explicitly excluded remote sessions. There has been some interest in enabling the flag for remote sessions as well recently, and as nobody seems to remember why they were excluded, do just that. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9099 Part-of: --- js/ui/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index f485e7b62..01a18b5a2 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -1025,12 +1025,12 @@ class AnimationsSettings { } _shouldEnableAnimations() { - if (this._handles.size > 0) - return false; - if (global.force_animations) return true; + if (this._handles.size > 0) + return false; + const backend = global.backend; if (!backend.is_rendering_hardware_accelerated()) return false; -- 2.39.5